package git.determinal.template;

import com.tangzc.mpe.autotable.EnableAutoTable;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
//程序的主入口

//@SpringBootApplication(exclude = {FlywayAutoConfiguration.class})
//@ServletComponentScan
//@EnableAutoConfiguration(exclude = {RedisAutoConfiguration.class})
//@EnableTransactionManagement
//@EnableScheduling
//@SpringBootApplication(exclude = {com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure.class, org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration.class})

//@MapperScan("git.determinal.template.mapper")
@SpringBootApplication
@EnableWebMvc
@EnableAutoTable
public class App {
    //SpringApplication
    public static void main(String[] args) {
        SpringApplication.run(App.class, args);
    }

}
